package tt.dz.service.imp.sys;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import tt.dz.dao.ext.system.OmsOperStationDao;
import tt.dz.entity.system.OmsOperStation;
import tt.dz.service.sys.OperStationService;
@Service @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class OperStationServiceImpl implements OperStationService{
	@Resource
	OmsOperStationDao operStationDao;

	@Override
	public OmsOperStation query(String station_id, String oper_id) {
		OmsOperStation operStation_query = new OmsOperStation();
		operStation_query.setOper_id(oper_id);
		operStation_query.setStation_id(station_id);
		OmsOperStation operStation = operStationDao.findOneExample(operStation_query, null, null);
		return operStation;
	}

	@Override
	public String add(OmsOperStation operStation) {
		
		return null;
	}

	@Override
	public String update(OmsOperStation operStation) {
		
		return null;
	}

	@Override
	public String del(String station_id, String oper_id) {
		
		return null;
	}
	


}
